package com.wenbing.miio.util.function;

import com.wenbing.miio.core.exception.NetworkLayerException;

import java.io.IOException;

/**
 * @author wen bing
 * @projectName: miio
 * @package: com.wenbing.miio.util.function
 * @className: Consumer
 * @date 2024/09/24 10:26
 **/
public interface Consumer<T> {

    void accept(T input) throws IOException, NetworkLayerException;

}
